<div class="main">
	<div class="container">
		<div style="background:#fff;min-height: 800px; margin: 20px 0; padding: 20px;">
			<div style="margin-bottom: 20px;">"{$keyword}"搜索结果：
				{if $list->count() == 0}
				暂未查到相关内容，请缩短或修改搜索词重新尝试搜索
				{/if}
			</div>
			<dl class="xiangsu_search_list">
				{switch name="type" }
				    {case value="hangyexinxi"}
						<ul class="gonggao_list">
							{volist name="list" id="item"}
							<a href="{:url('hangyexinxi/detail',['id'=>$item.id])}"><li>
								<img src="{$item.image}">
								<div class="content">
									<div class="title">{$item.title}</div>

									<div class="desc">
										{$item.content|strip_tags}
									</div>
									<div style="color: #999;font-size: 12px;"><i class="iconfont">&#xe74a;</i> {$item.updatetime|date="Y-m-d",###} 【{$item.type_name}】</div>
								</div>
							</li></a>
							{/volist}
						</ul>
					{/case}
					{case value="biaozhunbianzhi"}
						<ul class="gonggao_list">
							{volist name="list" id="item"}
							<a href="{:url('biaozhunbianzhi/detail',['id'=>$item.id])}"><li>
								<img src="{$item.image}">
								<div class="content">
									<div class="title">{$item.title}</div>

									<div style="color: #999;font-size: 12px;"><i class="iconfont">&#xe74a;</i> {$item.updatetime|date="Y-m-d",###} 【{$item.type_name}】</div>

								</div>
							</li></a>
							{/volist}
						</ul>
					{/case}
					{case value="huiyipeixun"}
						<ul class="gonggao_list">
							{volist name="list" id="item"}
							<a href="{:url('huiyipeixun/detail',['id'=>$item.id])}"><li>
								<img src="{$item.image}">
								<div class="content">
									<div class="title">{$item.name}</div>


								</div>
							</li></a>
							{/volist}
						</ul>
					{/case}
					{case value="hangyezhanhui"}
						<ul class="zhanhuilist2">
							{volist name="list" id="item"}
							<a href="{:url('hangyezhanhui/detail',['id'=>$item.id])}"><li style="background-image: url({$item.image});">
								<div class="title">{$item.name}</div>
								<div class="desc">
									<p>网址 | {$item.net_address}</p>
									<p>地址 | {$item.address}</p>
									<p>时间 | {$item.start_date}-{$item.start_date}</p>
								</div>
							</li></a>
							{/volist}
						</ul>
					{/case}
					{case value="renwuzhuanlan"}
						<ul class="gonggao_list">
							{volist name="list" id="item"}
							<a href="{:url('renwuzhuanlan/detail',['id'=>$item.id])}"><li>
								<img src="{$item.image}">
								<div class="content">
									<div class="title">{$item.title}</div>
									<div class="desc">{$item.content|strip_tags}</div>
									<div style="color: #999;font-size: 12px;"><i class="iconfont">&#xe74a;</i> {$item.updatetime|date="Y-m-d",###}</div>
								</div>
							</li></a>
							{/volist}
						</ul>
					{/case}
					{case value="qiye"}
						<ul class="gonggao_list">
							{volist name="list" id="item"}
							<a href="{:url('xiangsuzhuangbei/qiye_detail',['id'=>$item.id])}"><li>
								<img src="{$item.image}">
								<div class="content">
									<div class="title">{$item.name}</div>


								</div>
							</li></a>
							{/volist}
						</ul>
					{/case}
					{case value="product"}
						<ul class="chanpin_list">
							{volist name="list" id="item"}
							<a href="{:url('xiangsuzhuangbei/product_detail',['id'=>$item.id])}">
								<li class="">
								<img src="{$item.image}">
								<h3 class="title">{$item.name}</h3>
								<p class="desc">{$item.qiye_name}</p>
							</li>
							</a>
							{/volist}
						</ul>
					{/case}
					{case value="shukan"}

						{volist name="list" id="item"}

						{if(isset($list[$i-2]))}
							{if ($item.type_name!=$list[$i-2]['type_name'])}
							<dt style="padding: 6px 0;">【{$item.type_name}】</dt>
							{/if}
						{else /}
							<dt style="padding: 6px 0;">【{$item.type_name}】</dt>
						{/if}
						<dd>
							<div class="col_1">{$item.title}</div>
							<div class="col_2">{$item.author}</div>
							<a href="{:url('zhuanyeshukan/qikanwenzhang_detail',['id'=>$item.id])}">点击查看 >></a>
						</dd>
						{/volist}

					{/case}

				    {default /}搜索类型错误
				{/switch}

			</dl>
			<div style="text-align:center;">{$list->render()}</div>
		</div>
	</div>
</div>
